package com.irdstudio.efp.cus.service.facade;

import com.irdstudio.efp.cus.service.vo.GzReturnInfoVO;

import java.util.List;

/**
 * Service Interface: 代发工资明细表
 *
 * @author gcb
 * @date 2020-08-06
 */
public interface GzReturnInfoService {
    /**
     * 新增数据
     *
     * @param gzReturnInfoVO
     * @return
     */
    int insert(GzReturnInfoVO gzReturnInfoVO) throws Exception;

    /**
     * 根据主键删除信息
     *
     * @param gzReturnInfoVO
     * @return
     */
    int deleteByPk(GzReturnInfoVO gzReturnInfoVO) throws Exception;

    /**
     * 根据主键更新信息
     *
     * @param gzReturnInfoVO
     * @return
     */
    int updateByPk(GzReturnInfoVO gzReturnInfoVO) throws Exception;

    /**
     * 根据主键查询详情
     *
     * @param gzReturnInfoVO
     * @return
     */
    GzReturnInfoVO queryByPk(GzReturnInfoVO gzReturnInfoVO) throws Exception;

    List<GzReturnInfoVO> queryCertCodeAndCertType(GzReturnInfoVO gzReturnInfoVO) throws Exception;
}